package com.ttg.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttg.model.pojo.MobileSms;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author ZQ
 * @version 1.0
 * @Description
 * @date 2021/4/13 11:30
 */
public interface MobileSmsService extends IService<MobileSms> {

    int countByMobile(String smsMobile, LocalDateTime gtTime);

    int countByMobile(String smsMobile, LocalDateTime sDate, LocalDateTime eDate);


    /**
     * 获取号码和短信内容
     * @param smsId 编号
     * @param smsStatus 状态
     * @return sms_mobile，sms_content
     */
    MobileSms select1(Long smsId, Integer smsStatus);


}
